Skip to main content

Token Metadata

Queries token metadata information for all tokens.

query Token_metadatas($limit: Int, $offset: Int) {
token {
token_metadatas(limit: $limit, offset: $offset) {
coinDecimal
displayName
tokenId
description
image
price
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{"query":"query Token {\n token {\n token_metadatas {\n coinDecimal\n displayName\n tokenId\n description\n image\n price\n }\n }\n}"}'

Open in Playground

Arguments

  • limit (Int): Optional limit to the number of results to return.
  • offset (Int): Optional number of tokens to skip before starting to return the result set. Used for pagination.

Return Fields

FieldTypeDescription
coinDecimalIntThe number of decimal places for the token.
displayNameStringThe display name of the token.
tokenIdStringThe unique identifier of the token.
descriptionStringA brief description of the token.
imageStringURL to an image representing the token.
priceStringThe current price of the token in USD.